import { MenuItem } from "@/scripts/dataTypes";
import { defineAsyncComponent, ref, shallowRef } from "vue";


export const heightMenuList = ref<MenuItem[]>([
    {
        id: "circle",
        name: "圆",
        status: "none",
        icon: new URL('../../../assets/modelser/circle2.png', import.meta.url).href,
        activeIcon: new URL('../../../assets/modelser/circle2_actived.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/modelser/circle2_hover.png', import.meta.url).href,
        isOnly: true,
    },
    {
        id: "rectangle",
        name: "矩形",
        status: "none",
        icon: new URL('../../../assets/modelser/rectangle.png', import.meta.url).href,
        activeIcon: new URL('../../../assets/modelser/rectangle_actived.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/modelser/rectangle_hover.png', import.meta.url).href,
        isOnly: true,
    },
    {
        id: "polygon",
        name: "多边形",
        status: "none",
        icon: new URL('../../../assets/modelser/polygon.png', import.meta.url).href,
        activeIcon: new URL('../../../assets/modelser/polygon_actived.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/modelser/polygon_hover.png', import.meta.url).href,
        isOnly: true,
    },
    {
        id: "shp",
        name: "上传shp",
        status: "none",
        icon: new URL('../../../assets/terrainrts/shp.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/terrainrts/shp_hover.png', import.meta.url).href,
    },
 {
        id: "download",
        name: "下载geojson",
        status: "none",
        icon: new URL('../../../assets/terrainrts/xia.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/terrainrts/xia_hover.png', import.meta.url).href,
    },
    {
        id: "geojson",
        name: "上传geojson",
        status: "none",
        icon: new URL('../../../assets/terrainrts/geojson.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/terrainrts/geojson_hover.png', import.meta.url).href,
    },
])

